package com.ksd.pug.service.article;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ksd.pug.pojo.ArticleUserCollect;

import java.util.List;

/**
 * @author: hcl
 * @date: 2022/1/24 14:58
 * @Description:
 */
public interface IArticleUserCollectService extends IService<ArticleUserCollect> {

    //收藏文章
    int getCollect(Long articleId);

    //取消收藏文章
    int removeCollect(Long articleId);

    //查询用户收藏
    List<ArticleUserCollect> userCollectList();
}
